<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
use Hyperf\Contract\StdoutLoggerInterface;
use Psr\Log\LogLevel;

return [
    'app_name' => env('APP_NAME', 'skeleton'),
    'app_env' => env('APP_ENV', 'dev'),
    'scan_cacheable' => (bool)env('SCAN_CACHEABLE', false),
    StdoutLoggerInterface::class => [
        'log_level' => [
            LogLevel::ALERT,
            LogLevel::CRITICAL,
            // LogLevel::DEBUG,
            LogLevel::EMERGENCY,
            LogLevel::ERROR,
            LogLevel::INFO,
            LogLevel::NOTICE,
            LogLevel::WARNING,
        ],
    ],
    'isDev' => (int)env('APP_DEV'),
    'rateDivisor'    => 100 * 10000, //计算汇率用的分母 
    'standardCurrency' => 'CNY', //中行默认外币对CNY做汇率牌价
    'emailSendLimit'         => 60, // 发送邮件接口重复调用时间间隔，单位秒
    'emailCodeExpireLimit'   => 300, // 邮箱验证码有效时间，单位秒

   'aliOssAccessKeyId'     => 'LTAI5tP7PUHXinLLSjTJAn2o', // aliOssAccessKeyId
   'aliOssAccessSecret'    => 'xechBqMtpAPzGT4Fh27noH1lDDpQu5', // aliOssAccessSecret
   'aliOssRegionId'        => 'oss-cn-hongkong', // aliOssRegionId
   'aliOssRoleArn'         => 'acs:ram::1226815967086964:role/ecoss', // aliOssRoleArn
   'aliOssRoleSessionName' => 'ecoss', // aliOssRoleSessionName
   'aliOssBucket'          => 'easycent', // aliOssBucket

    // 'aliOssAccessKeyId'     => 'LTAI5tQse2jRs8stmCYCMWuH', // aliOssAccessKeyId
    // 'aliOssAccessSecret'    => 'H64DKjduutbVuTtgw8Y7rnyB06VBtZ', // aliOssAccessSecret
    // 'aliOssRegionId'        => 'oss-cn-guangzhou', // aliOssRegionId
    // 'aliOssRoleArn'         => 'acs:ram::1595501706964435:role/test', // aliOssRoleArn
    // 'aliOssRoleSessionName' => 'test', // aliOssRoleSessionName
    // 'aliOssBucket'          => 'naruto-test', // aliOssBucket

    'currencyMapping' => array(
        '人民币'    =>  'CNY',
        '阿联酋迪拉姆'    =>  'AED',
        '澳大利亚元'    =>  'AUD',
        '巴西里亚尔'    =>  'BRL',
        '加拿大元'    =>  'CAD',
        '瑞士法郎'    =>  'CHF',
        '丹麦克朗'    =>  'DKK',
        '欧元'    =>  'EUR',
        '英镑'    =>  'GBP',
        '港币'    =>  'HKD',
        '印尼卢比'    =>  'IDR',
        '印度卢比'    =>  'INR',
        '日元'    =>  'JPY',
        '韩国元'    =>  'KRW',
        '澳门元'    =>  'MOP',
        '林吉特'    =>  'MYR',
        '挪威克朗'    =>  'NOK',
        '新西兰元'    =>  'NZD',
        '菲律宾比索'    =>  'PHP',
        '卢布'    =>  'RUB',
        '沙特里亚尔'    =>  'SAR',
        '瑞典克朗'    =>  'SEK',
        '新加坡元'    =>  'SGD',
        '泰国铢'    =>  'THB',
        '土耳其里拉'    =>  'TRY',
        '新台币'    =>  'TWD',
        '美元'    =>  'USD',
        '南非兰特'    =>  'ZAR',
    ),

];
